/**
 * Utopia Inc.
 *
 * @Copyright (c) 2013-2014  All rights reserved.
 */
package com.yiren.backstage.currency.enums;

/**
 * Time:2021/10/29 8:59
 * Author:xiaozan
 * Description: 项目、评判任务状态
 */
public enum TaskStateEnum {

    /** The FINISHED. */
    FINISH("完成"),

    /** The NO t_ finished. */
    NOT_FINISH("未完成"),

    IN_PROCESS("正在执行中"),

    /**已执行过的*/
    EXECUTED("已执行过的"),

    FORCT_CLOSE("强制关闭");


    /**
     * Instantiates a new finished state.
     *
     * @param description
     *             the description
     */
    TaskStateEnum(String description) {
        this.description = description;
        this.code = toString();
    }

    /**代码*/
    private String code;

    /** The description. */
    private String description;

    /**
     * 取值- 描述信息.
     *
     * @return the 描述信息
     */
    public String getDescription() {
        return description;
    }

    /**
     * 赋值- 描述信息.
     *
     * @param description
     *             the new 描述信息
     */
    public void setDescription(String description) {
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

}
